<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layim聊天</title>
    <meta name="keywords" content="desktop">
    <meta name="description" content="desktop">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/assets/layim/css/layui.css" media="all">
    <link rel="stylesheet" href="/assets/layim/css/index.css" media="all">
    <link rel="stylesheet" href="/assets/layim/css/menu.css" media="all">
    <link rel="stylesheet" type="text/css" href="/assets/layim/desktop/style/swiper-3.4.0.min.css">
    <link rel="stylesheet" type="text/css" href="/assets/layim/desktop/style/desktop.css">
    <link rel="stylesheet" href="/assets/layim/plugins/iziToast/css/iziToast.min.css">
    <script src="/assets/layim/plugins/jquery-1.11.0.min.js"></script>
    <script src="/assets/layim/layui.js"></script>
</head>
<body class="desktop-bg">
<div class="" id="loading" style="position: absolute; top: 49%; left: 50%; margin-left: -73px; display:none;">
    <i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop">ဂ</i>
</div>
<!--桌面app配置参数-->
<script type="text/javascript">
    var desktpData = {
        "menu": [
            {
                "menuid": "m001",
                "name": "1",
                "app": [
                    "m101",
                    "m102",
                    "m103",
                    "m104",
                    "m105",
                    "m106",
                    "m107",
                ]
            },
            {
                "menuid": "m002",
                "name": "2",
                "app": [
                    "m201",
                    "m202"
                ]
            },
            {
                "menuid": "m003",
                "name": "3",
                "app": [
                    "m301"
                ]
            },
            {
                "menuid": "m004",
                "name": "opening",
                "app": [
                    "m401",
                    "m402",
                    "m403",
                    "m404",
                    "m405",
                    "m406"
                ]
            }
        ],
        "apps": {
            "m101": {
                "appid": "101",
                "isicon": 1,
                "icon": "&#xe638;",
                "iconbg":"#51555e",
                "name": "弹出层",
                "url": "http://layer.layui.com",
                "height": "",
                "width": ""
            },
            "m102": {
                "appid": "102",
                "isicon": 1,
                "icon": "&#xe63a;",
                "iconbg":"#60b979",
                "name": "即时通讯",
                "url": "http://layim.layui.com/",
                "height": "",
                "width": ""
            },
            "m103": {
                "appid": "103",
                "isicon": 1,
                "icon": "&#xe637;",
                "iconbg":"#d3b59d",
                "name": "日期时间选择",
                "url": "http://laydate.layui.com/",
                "height": "",
                "width": ""
            },
            "m104": {
                "appid": "104",
                "isicon": 1,
                "icon": "&#xe633;",
                "iconbg":"#109b8e",
                "name": "分页",
                "url": "http://laypage.layui.com/",
                "height": "",
                "width": ""
            },
            "m105": {
                "appid": "105",
                "icon": "&#xe628;",
                "iconbg":"#e6db74",
                "name": "模板引擎",
                "url": "http://laytpl.layui.com/",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m106": {
                "appid": "106",
                "icon": "&#xe639;",
                "iconbg":"#e6db74",
                "name": "表单",
                "url": "customer.html",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m107": {
                "appid": "107",
                "icon": "&#xe62f;",
                "iconbg":"#e6db74",
                "name": "文件上传",
                "url": "http://www.layui.com/doc/modules/upload.html",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m201": {
                "appid": "107",
                "icon": "&#xe62f;",
                "iconbg":"#e6db74",
                "name": "常用元素操作",
                "url": "http://www.layui.com/doc/modules/element.html",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m202": {
                "appid": "107",
                "icon": "&#xe62f;",
                "iconbg":"#e6db74",
                "name": "文件上传",
                "url": "http://www.layui.com/doc/modules/upload.html",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m301": {
                "appid": "301",
                "icon": "&#xe635;",
                "iconbg":"#e6db74",
                "name": "代码修饰器",
                "url": "http://www.layui.com/doc/modules/code.html",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m401": {
                "appid": "101",
                "isicon": 1,
                "icon": "&#xe638;",
                "iconbg":"#51555e",
                "name": "弹出层",
                "url": "http://layer.layui.com",
                "height": "",
                "width": ""
            },
            "m402": {
                "appid": "102",
                "isicon": 1,
                "icon": "&#xe63a;",
                "iconbg":"#60b979",
                "name": "即时通讯",
                "url": "http://layim.layui.com/",
                "height": "",
                "width": ""
            },
            "m403": {
                "appid": "103",
                "isicon": 1,
                "icon": "&#xe637;",
                "iconbg":"#d3b59d",
                "name": "日期时间选择",
                "url": "http://laydate.layui.com/",
                "height": "",
                "width": ""
            },
            "m404": {
                "appid": "104",
                "isicon": 1,
                "icon": "&#xe633;",
                "iconbg":"#109b8e",
                "name": "分页",
                "url": "http://laypage.layui.com/",
                "height": "",
                "width": ""
            },
            "m405": {
                "appid": "105",
                "icon": "&#xe628;",
                "iconbg":"#e6db74",
                "name": "模板引擎",
                "url": "http://laytpl.layui.com/",
                "isicon": 1,
                "height": "",
                "width": ""
            },
            "m406": {
                "appid": "106",
                "icon": "&#xe639;",
                "iconbg":"#e6db74",
                "name": "表单",
                "url": "customer.html",
                "isicon": 1,
                "height": "",
                "width": ""
            }
        }
    }
</script>
<!--主桌面-->
<div class="swiper-container desktop-container">
    <div class="swiper-pagination"></div>
    <div class="swiper-wrapper">
    </div>
</div>
<!--任务栏-->
<div class="desktop-taskbar">
    <!--div class="desktop-taskbar-pr"></div-->
    <div id="opening-menu" class="opening-menu">
        <div class="opening-menu-app-list"></div>
        <div class="opening-menu-user">
            <div class="desktop-opening-icon"></div>
            <div class="opening-menu-user-list">
                <a title="系统设置" cmd="Setting" class="dock_tool_setting" href="javascript:void(0)">系统设置</a>
                <a title="主题设置" cmd="Theme" class="dock_tool_theme" href="javascript:void(0)">主题设置</a>
                <a title="个人资料" cmd="ziliao" class="dock_tool_ziliao" href="javascript:void(0)">个人资料</a>
                <a title="注销登录" cmd="loginout" class="dock_tool_loginout" href="javascript:void(0)">注销登录</a>
            </div>
        </div>
    </div>
    <!--开始菜单-->
    <div class="layui-inline taskbar-win"><i class="iconfont icon-windows"></i></div>
    <!---->
    <div class="layui-inline desktop-taskbar-app-list">
    </div>
    <!--时间显示-->
    <div class="layui-inline taskbar-time">
        <label id="laydate-hs"></label>
        <label id="laydate-ymd"></label>
    </div>
    <div class="layui-inline taskbar-showdesktop" title="显示桌面"></div>
</div>
<!--右键菜单-->
<div class="desktop-menu">
    <ul>
        <li><a href="javascript:;" id="showdesktop">显示桌面</a></li>
        <li><a href="javascript:;" id="closeall">关闭所有</a></li>
        <li><a href="javascript:;" id="lockscreen">锁屏</a></li>
        <hr/>
        <li><a href="javascript:;" id="systemsettings">系统设置</a></li>
        <li><a href="javascript:;" id="themesettings">主题设置</a></li>
        <li><a href="javascript:;" id="technicalsupport">技术支持</a></li>
        <hr/>
        <li><a href="javascript:;" id="cancellation">注销</a></li>
    </ul>
</div>
</body>

<script type="application/javascript">
    var USERID = parseInt("{{userid}}");
    var HOST = "ws://" + location.host;
    layui.jquery = jQuery;
    var MYGROUPS = {%autoescape off%}{{mygroup}}{%endautoescape%};
    var flash = {%autoescape off%}{{flash}}{%endautoescape%};
</script>
<script src="/assets/layim/js/const.js"></script>
<script src="/assets/layim/plugins/iziToast/js/iziToast.js"></script>
<script src="/assets/layim/lay/jquery.blockUI.js"></script>
<script src="/assets/layim/lay/swiper.js"></script>
<script src="/assets/layim/lay/jquery-ui.min.js"></script>
<script type="application/javascript" src="/assets/layim/js/desktop.js?v=1.1"></script>
</html>
